<?php
/**
 * Created by PhpStorm.
 * User: LiuJiaJun
 * Date: 2019/1/13
 * Time: 13:19
 */

namespace api\storage\service;


class InflowService extends BaseService
{

    public static function generateInflow($reels, $userLogin, $remark = '')
    {
        return [
            'uuid' => create_uuid(),
            'reel_id' => $reels['reel_id'],
            'seat_code' => $reels['seat_code'],
            'sub_materiel_id' => $reels['sub_materiel_id'],
            'storage_uuid' => $reels['storage_uuid'],
            'count' => $reels['count'],
            'user_login' => $userLogin,
            'remark' => $remark,
            'time' => get_current_time()
        ];
    }
}